package com.jason.kotlin.meta.architecture2.model

import com.google.gson.annotations.SerializedName

/**
 * 首页banner：https://www.wanandroid.com/banner/json
 *
{
"desc": "",
"id": 6,
"imagePath": "https://www.wanandroid.com/blogimgs/62c1bd68-b5f3-4a3c-a649-7ca8c7dfabe6.png",
"isVisible": 1,
"order": 1,
"title": "我们新增了一个常用导航Tab~",
"type": 1,
"url": "https://www.wanandroid.com/navi"
}
 */
data class BannerBean(
    @SerializedName("desc")
    var desc: String,
    @SerializedName("imagePath")
    var imagePath: String,
    @SerializedName("id")
    var id: Int,
    @SerializedName("isVisible")
    var isVisible: Int,
    @SerializedName("order")
    var order: Int,
    @SerializedName("title")
    var title: String,
    @SerializedName("type")
    var type: Int,
    @SerializedName("url")
    var url: String
){
    override fun toString(): String {
        return "BannerBean(desc='$desc', imagePath='$imagePath', id=$id, isVisible=$isVisible, order=$order, title='$title', type=$type, url='$url')"
    }
}